package shape;

public class Rectangle implements Shape {

    private int width,height;

    public Rectangle(int width, int height){
        this.width = width;
        this.height = height;
    }

    @Override
    public int calculateArea() {
        return width * height;
    }

    @Override
    public int calculatePerimeter() {
        return (width*2)+(height*2);
    }
}
